package deck.dto;

import java.sql.Date;

public class BasketDTO {
	private int b_no;
	private String u_id;
	private String p_product;
	private int p_price;
	private int b_product_count;
	private Date b_date;

	public BasketDTO(){
	}

	public BasketDTO(int b_no, String u_id, String p_product, int p_price,
			int b_product_count, Date b_date) {
		super();
		this.b_no = b_no;
		this.u_id = u_id;
		this.p_product = p_product;
		this.p_price = p_price;
		this.b_product_count = b_product_count;
		this.b_date = b_date;
	}

	@Override
	public String toString() {
		return b_no + "\t" + u_id + "\t" + p_product + "\t" + p_price + "\t"
				+ b_product_count + "\t" + b_date;
	}

	/*
	 * Getter & Setter
	 */
	
	public int getB_no() {
		return b_no;
	}

	public void setB_no(int b_no) {
		this.b_no = b_no;
	}

	public String getU_id() {
		return u_id;
	}

	public void setU_id(String u_id) {
		this.u_id = u_id;
	}

	public String getP_product() {
		return p_product;
	}

	public void setP_product(String p_product) {
		this.p_product = p_product;
	}

	public int getP_price() {
		return p_price;
	}

	public void setP_price(int p_price) {
		this.p_price = p_price;
	}

	public int getB_product_count() {
		return b_product_count;
	}

	public void setB_product_count(int b_product_count) {
		this.b_product_count = b_product_count;
	}

	public Date getB_date() {
		return b_date;
	}

	public void setB_date(Date b_date) {
		this.b_date = b_date;
	}

}
